import service from '@/utils/request'

const ComponentApi = {
  uploadOss (data) {
      // 请求oss, 获取授权
      return service.get('tools/aliyun/getStsToken',{ params: data });
  },
  treeProvinceCity(data) {
    // 获取具体到城市树状结构表
    return service.get('area/treePC',{ params: data });
  },
  treeRegion(data) {
    // 获取具体到街道地址的树状结构表
    return service.get('area/tree',{ params: data });
  },
}
export default ComponentApi
